import xss from 'xss'

const htmlXss = {
  bind(el, binding) {
    el.innerHTML = xss(binding.value)
  },
}

export default htmlXss
